home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Resources
/
Developer & Web Development Tools
/
Twistpad 1.64
/
Setup.exe
/
$APPDATA
/
Carthago
/
Twistpad
/
Syntax
/
asm.sdf
next >
Wrap
Text File
|
2007-03-10
|
4KB
|
120 lines
;Assembler Syntax highlight Script for Twistpad
;1998 - 2007 ⌐ Carthago Software
[::Header::]
SyntaxName=Assembler
Extensions=asm
Spelling=0
SpellingContexts=1;2
CommentChar=;
[comment]
Type=StartStop
Context=1
Priority=10
Scope=0
WholeWordOnly=0
First=;
Last=
Background=Default
Foreground=008000
[string]
Type=StartStop
Context=2
Scope=0
Priority=9
WholeWordOnly=0
First="
Last="
Background=Default
Foreground=408080
[string1]
Type=StartStop
Context=2
Scope=0
Priority=9
WholeWordOnly=0
First='
Last='
Background=Default
Foreground=408080
[Instruction Prefixes]
Type=keyword
Context=101
Scope=0
Priority=6
WholeWordOnly=1
Keyword1=LOCK;REP;REPE;REPNE;REPNZ;REPZ
Background=Default
Foreground=0000FF
[Processor Instructions]
Type=keyword
Context=102
Scope=0
Priority=7
WholeWordOnly=1
Keyword1=AAA;AAD;AAM;AAS;ADC;ADX;ADD;AND;APPL;BOUND;BSF;BSR;BSWAP;BT;BTC;BTR;BTS;CALL;CBW;CDQ;CLC;CLD;CLI
Keyword2=CLTS;CMC;CMP;CMPS;CMPSB;CMPSD;CMPSW;CMPXCHG;CWD;CWDE;DAA;DAS;DEC;DIV;ENTER;ESC;HLT;IDIV;IMUL;IN;INC
Keyword3=INS;INSB;INSD;INSW;INT;INTO;INVD;INVLPG;IRET;IRETD;IRETDF;IRETF;JA;JAE;JB;JBE;JC;JCXZ;JE;JECXZ;JG
Keyword4=JGE;JL;JLE;JMP;JNA;JNAE;JNB;JNBE;JNC;JNE;JNG;JNGE;JNL;JNLE;JNO;JNP;JNS;JNZ;JO;JP;JPE;JS;JZ;LAHF;LAR
Keyword5=LDS;LEA;LEAVE;LES;LFS;LGDT;LGS;LIDT;LLDT;LMSW;LODS;LODSB;LODSD;LODSW;LOOP;LOPD;LOOPE;LOOPED;LOOPEW
Keyword6=LOOPNE;LOOPNED;LOOPNEW;LOOPNZ;LOOPNZD;LOOPNZW;LOOPW;LOOPZ;LOOPZD;LOOPZW;LSL;LSS;LTR;MOV;MOVS;MOVSB;MOVSD
Keyword7=MOVSW;MOVSX;MOVZX;MUL;NEG;NOP;NOT;OR;OUT;OUTS;OUTSB;OUTSD;OUTSW;POP;POPA;POPAD;POPF;POPFD;PUSH;PUSHA;PUSHAD;PUSHD;PUSHF;PUSHFD;PUSHW
Keyword8=RCL;RCR;RET;RETF;RETN;ROL;ROR;SAHF;SAL;SAR;SBB;SCAS;SCASB;SCASD;SCASW;SETA;SETAE;SETB;SETBE;SETC;SETE;SETG;SETGE;SETL;SETLE
Keyword9=SETNA;SETNAE;SETNB;SETNC;SETNE;SETNG;SETNGE;SETNL;SETNLE;SETNO;SETNP;SETNS;SETNZ;SETO;SETP;SETPE;SETPO;SETS;SETZ;SIDT;SGDT;SHL;SHLD;SHR
Keyword10=SHRD;SLDT;SMSW;STR;NTC;STD;STI;STOS;STOSD;STOSB;STOSW;SUB;TEST;VERR;VERW;WAIT;WBINVD;XCHG;XLAT;XLATB;XOR;XADD
Background=Default
Foreground=FF8000
[Coprocessor Instructions]
Type=keyword
Context=103
Scope=0
Priority=7
WholeWordOnly=1
Keyword1=F2XMI;FABS;FADD;FADDP;FBLD;FBSTP;FCHS;FCLEX;FCOM;FCOMP;FCOMPP;FDECSTP;FDISI;FDIV;FDIVP;FDIVR;FDIVRP;FENI;FFREE;FIADD;FICOM;FICOMP
Keyword2=FIDIV;FIDIVR;FILD;FIMUL;FINCSTP;FINIT;FIST;FISTP;FISUB;FISUBR;FLD;FLD1;FLDCW;FLDENV;FLDENVW;FLD2E;FLDL2T;FLDLG2;FLDLN2;FLDPI;FLDZ;FMUL
Keyword3=FMULP;FNCLEX;FNDISI;FNENI;FNINT;FNOP;FNSAVE;FNSAVEW;FNSTCW;FNSTENV;FNSTENVW;FNSTSW;FPATAN;FPREM;FPTAN;FRNDINT;FRSTOR;FRSTORW;FSAVE;FSAVEW;FSCALE;FSQRT;FST;FSTCW;FSTENV;FSTENVW;FSTP;FSTSW;FSUB;FSUBP;FSUBBR
Keyword4=FSUBBRP;FTST;FWAIT;FXAM;FXCH;FXTRACT;FYL2X;FYL2XPI;FSETPM;FCOS;FLDENVD;FNSAVED;FNSTENVD;FRSTORD;FSAVED;FSIN;FSINCOS;FSTENVD;FUCOM;FUCOMP;FUCOMPP
Background=Default
Foreground=FF0080
[Registers]
Type=keyword
Context=104
Scope=0
Priority=7
WholeWordOnly=1
Keyword1=EAX;EBX;ECX;EDX;ESI;EDI;EBP;ESP;EIP;FS;GS;AX;AL;AH;BX;BL;BH;CX;CL;CH;DX;DL;DH;ES;DS;CS;SP;SS;BP;IP;SI;DI;
Background=Default
Foreground=6F6F6F
[Compiler Directives]
Type=keyword
Context=105
Scope=0
Priority=7
WholeWordOnly=1
Keyword1=.286;.386;.486;.code;.data;.model;.stack;ASSUME;BYTE;COMPACT;DB;DD;DOSSEG;DUP;DW;DWORD;END;ENDM;ENDP
Keyword2=ENDS;EQU;EXTERN;FAR;HUGE;LARGE;LOCAL;MACRO;MEDIUM;NEAR;OFFSET;ORG;PARA;PROC;PTR;PUBLIC;SEG;SEGMENT;SMALL
Keyword3=STACK;TINY;USES;WORD;
Background=Default
Foreground=FF0000
[Reserved Words]
Type=keyword
Context=106
Scope=0
Priority=7
WholeWordOnly=1
Keyword1=@B;@F;ABS;ADDR;ALL;ASSUMES;AT;BASIC;BYTE;C;CARRY?;CASEMAP;COMMON;COMPACT;CPU;DOTNAME;DWORD;EMULATOR;EPILOGUE;ERROR;EXPORT;EXPR16;EXPR32;FAR
Keyword2=FAR16;FARSTACK;FLAT;FORCEFRAME;FORTRAN;FWORD;HUGH;LABEL;LANGUAGE;LARGE;LISTING;LJMP;LOADDS;M510;MEDIUM;MEMORY;NEAR;NEAR16;NEARSTACK;NODOTNAME;NOEMULATOR;NOKEYWORD;NOLJMP;NOM510
Keyword3=NONE;NONUNIQUE;NOOLDMACROS;NOOLDSTRUTS;NOREADONLY;NOSCOPED;NOSIGNEXTENDED;NOTHING;NOTPUBLIC;OLDMACROS;OLDSTRUTS;OS_DOS;OVERFLOW;PARA;PARITY?;PASCAL
Keyword4=PRIVATE;PROLOGUE;QWORD;RADIX;READONLY;REAL10;REAL4;REAL8;REQ;SBYTE;SCOPED;SDWORD;SETIF2;SIGN;SMALL;STACK;STDCALL;SWORD;SYSCALL;TBYTE;TINY;SE16;USE32;VARARG;WORD;ZERO
Background=Default
Foreground=000080